package oop4.animal;

public class Tiger extends Pet {
    Tiger(String name, String strain, int weight, int age, char sex, int love, int health) {
        super(name, strain, weight, age, sex, love, health);
    }

    @Override
    public void eat() {
        System.out.println("老虎" + this.getName() + "吃肉");
    }

    @Override
    public String toString() {
        return "老虎" + getName();
    }
}
